/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.com.betacom.scjp.j2se5chapterReviews;

/**
 * 
 */
public class CH6ContinueToLabel {
	public static void main(String[] args) {
		OUTER: for (int i = 0; i < 3; i++) {
			for (int j = 0; j < 3; j++) {
				if (j == 1) {
					continue OUTER;
				}
				System.out.println("i = " + i + " j = " + j);
			}
		}
		
		OUTER: // Can be anywhere
			
			for (int i = 0; i < 3; i++) {
				for (int j = 0; j < 3; j++) {
					if (j == 1) {
						continue OUTER;
					}
					System.out.println("i = " + i + " j = " + j);
				}
			}
	}
}
